package com.imooc.sellspringcloud.server.enums;

import lombok.Getter;

/**
 * @author
 * @create 2019-07-27 21:53
 **/
@Getter
public enum OrderStatusEnum {
    NEW(0, "新订单"),
    FINISHED(1, "完结"),
    CANCEL(2, "取消");

    private int status;

    private String message;

    /**
     * 订单状态信息
     * @param status 状态码
     * @param message 具体信息
     */
    OrderStatusEnum(int status, String message) {
        this.status = status;
        this.message = message;
    }
}